package cn.gqr.entity;


public class CartBook {

    private NewBook book;
    private Cart cart;

    public NewBook getNewBook() {
        return book;
    }

    public void setNewBook(NewBook newBook) {
        this.book = newBook;
    }

    public cn.gqr.entity.Cart getCart() {
        return cart;
    }

    public void setCart(cn.gqr.entity.Cart cart) {
        this.cart = cart;
    }

    @Override
    public String toString() {
        return "CartBook{" +
                "   Book=" + book +
                ", Cart=" + cart +
                '}';
    }
}
